const fs = require('fs');
const config = fs.readFileSync('vite.config.js', 'utf-8');
if (!config.includes(';')) {
  console.error('配置缺少必要分号');
  process.exit(1);
}